package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsCategoryDao;
import com.appkubes.mall.core.entity.MallGoodsCategory;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsCategoryService extends AbstractBaseService<BaseMallGoodsCategoryDao, MallGoodsCategory> {

    MallGoodsCategory getOneByEntity(MallGoodsCategory entity);

    List<MallGoodsCategory> selectListByEntity(MallGoodsCategory entity);

    IPage<MallGoodsCategory> selectPageByEntity(IPage<MallGoodsCategory> page);
    IPage<MallGoodsCategory> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsCategory> selectPageByEntity(MallGoodsCategory entity, IPage<MallGoodsCategory> page);
    IPage<MallGoodsCategory> selectPageByEntity(MallGoodsCategory entity, PageVO pageVO);

    IPage<MallGoodsCategory> selectPageByEntity(MallGoodsCategory entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsCategory entity);
}
